Fork - Join
SystemVerilog adds join_any and join_none keywords to the fork - join statement.
Option
|
Description
|
join
|
The parent process blocks until all the processes spawned by this fork complete.
|
join_any
|
The parent process blocks until any one of the processes spawned by this fork completes.
|
join_none
|
The parent process continues to execute concurrently with all the processes spawned by the fork.
The spawned processes do not start executing until the parent thread executes a blocking statement.
|
A return statement within the context of a fork...join statement is illegal.
|